<table border="0" width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" style="vertical-align: middle; height: <%="#{@td_height_title_filter}px"%>">
      <h2 style="font-size: <%="#{@size_font_title_filter}px"%>;color:black;"><%=t "country_edition_filter"%></h2>
    </td>
    <td align="right" style="font-size: <%="#{@size_font_paginate}px"%>">
      <%= will_paginate(@material_country_editions, options_will_paginate({:params => {:controller => :catalogs, :action => :paginate_tree_countries}, :param_name => 'page_ceditions', :previous_label => "&laquo;", :next_label => "&raquo;", :inner_window => @inner_window, :outer_window => @outer_window})) %>
    </td>
  </tr>
  <tr>
    <td align="left" colspan="2">
      <% @material_country_editions.each do |id, desc, count| %>
        <% if @material_country_editions.total_entries == 1 %>
          <%="#{desc} (#{count})"%><br/>
        <% else %>
          <%=link_to "#{desc} (#{count})", :controller => "catalogs", :action => "find",:id => 0, :country_id => id  %><br/>
        <% end %>
      <% end %>
      <% if !@material_countries_return.nil? %>
        <%=link_to "&laquo; #{t('all_countries')}", :controller => "catalogs", :action => "find_all_countries", :id => 0  %><br/>
      <% end %>
    </td>
  </tr>

</table>
